package com.stgy.lease.web.admin.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.stgy.lease.model.domain.RoomInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stgy.lease.web.admin.vo.RoomDetailVo;
import com.stgy.lease.web.admin.vo.RoomItemVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lingx
* @description 针对表【room_info(房间信息表)】的数据库操作Mapper
* @createDate 2024-08-28 11:00:29
* @Entity com.stgy.lease.model.domain.RoomInfo
*/
public interface RoomInfoMapper extends BaseMapper<RoomInfo> {

    List<RoomItemVo> selectPageItem(Page<RoomItemVo> page,@Param(Constants.WRAPPER) QueryWrapper<RoomItemVo> queryWrapper);

    RoomDetailVo selectDetailById(Long id);
}




